e4e5d6af01198a12704566a3c2c70749fe70888e,python/src/com/jetbrains/python/inspections/PyUnresolvedReferencesInspection.java,Visitor,addAddSelfFix,#PyElement#PyReferenceExpression#List#,737

Before Change


        boolean isClassmethod = false;
        if (decoratorList != null) {
          for (PyDecorator decorator : decoratorList.getDecorators()) {
            if (PyNames.CLASSMETHOD.equals(decorator.getCallee().getText()))
              isClassmethod = true;
          }
        }

After Change


        boolean isClassmethod = false;
        if (decoratorList != null) {
          for (PyDecorator decorator : decoratorList.getDecorators()) {
            final PyExpression callee = decorator.getCallee();
            if (callee != null && PyNames.CLASSMETHOD.equals(callee.getText()))
              isClassmethod = true;
          }
        }